from django.db import models

# Create your models here.
class AllInfo(models.Model):
    confirm=models.IntegerField(verbose_name="确诊")


    class Meta:
        verbose_name='今日数据'
        verbose_name_plural=verbose_name
    def __str__(self):
        return self.confirm
class Student(models.Model):
    sname=models.CharField(max_length=30,unique=True)
    spwd=models.CharField(max_length=30)
    def  __str__(self):
        return self.spwd,self.sname


